import django.forms as forms
from instafeed.utils import CustomAsUlFormMixin
from instafeed.subscriptions.models import FeedSubscription
from instafeed.subscriptions.models import CloudServer

class FeedSubscriptionForm(CustomAsUlFormMixin, forms.ModelForm):
    class Meta:
        model = FeedSubscription
        fields = ('name', 'url')

class CloudServerForm(CustomAsUlFormMixin, forms.ModelForm):
    class Meta:
        model = CloudServer
        fields = ('name', 'url')
